package com.hnevc.yinqi;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.ListView;
import android.widget.TextView;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

public class ThreeActivity extends AppCompatActivity {

    private TextView shunxu;
    private ImageView img;
    private TextView qingkuang;
    private TextView jinqiuqingkuang;
    private TextView jifen;
    private TextView xiangxi;
    private ListView listView;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.threeactivity_layout);
        initView();
        initData();
        initEvent();
    }
    protected void initView(){
        listView = findViewById(R.id.listview);
        shunxu = findViewById(R.id.shunxu);
        img = findViewById(R.id.img);
        qingkuang = findViewById(R.id.qingkuang);
        jinqiuqingkuang = findViewById(R.id.jinqiuqingkunag);
        jifen = findViewById(R.id.jifen);
        xiangxi = findViewById(R.id.xiangxi);

    }
    protected void initData(){
        Intent intent = getIntent();
        String shunxu1 = intent.getStringExtra("shunxu");
        int guojia1 = intent.getIntExtra("guojia",0);
        String qingkuang = intent.getStringExtra("qingkuang");
        String jinqiuqingkuang = intent.getStringExtra("jinqiuqingkuang");
        String xiangxi = intent.getStringExtra("xiangxi");

    }
    protected void initEvent(){

        listView.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {

            }
        });

    }
}
